package com.xnyzc.lhy.mis.entity.result.user.message;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description
 * @Author Bin
 * @Date 2019/7/23 11:10
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ResultUserMessage对象", description="出参用户消息")
public class ResultUserMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value="message_id", type = IdType.INPUT)
    private Long messageId;

    @ApiModelProperty(value = "用户或司机ID")
    private Long userId;

    @ApiModelProperty(value = "用户类型（0：用户、1：司机、2：管理员）")
    private Integer userType;

    @ApiModelProperty(value = "消息内容")
    private String messageContent;

    @ApiModelProperty(value = "消息标题")
    private String messageTitle;

    @ApiModelProperty(value = "跳转标识")
    private String jumpMark;

    @ApiModelProperty(value = "是否已读（0：否、1：是）")
    private Integer isRead;

    @ApiModelProperty(value = "创建时间")
    private String createTime;
}
